-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhance: use more descriptive names for database tools #334
enhance: use more descriptive names for database tools #334
Conversation
Depends on obot-platform/tools#334 Addresses part of obot-platform#1208 Signed-off-by: Nick Hale <[email protected]>
b178ee0
to
d20beeb
Compare
Name: Tables | ||
Description: List all tables in the SQLite database and return the results in markdown format | ||
Name: List Tables | ||
Description: List all tables in the SQLite database and return a JSON object containing the results |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"the results in markdown format"
Just to double check - you didnt change the return format right? You are just updating the description to match reality?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cjellick Yes, I'm just updating it to match a change Darren made a while back. We were originally returning markdown formatted data. It's been JSON for a while at this point.
Depends on obot-platform/tools#334 Addresses part of obot-platform#1208 Signed-off-by: Nick Hale <[email protected]>
d20beeb
to
63e4fd4
Compare
To reduce confusion in both the LLM and tool maintainers, rename the following tools in the `Database` bundle: 1. `Tables` -> `List Database Tables` 2. `Exec` -> `Exec Database Statement` 3. `Query` -> `Run Database Query` Also fix tool descriptions to reflect the change from raw markdown output to JSON. Addresses obot-platform/obot#1208 Since these tools are in the `Capability` category, the "blast radius" of this change includes [the `TableHandler` implementation in obot](https://github.com/obot-platform/obot/blob/31ceab62d455bd798a069be034ea8effb1b41ac4/ui/user/src/lib/components/navbar/Tables.svelte#L8) and all tools/agents currently using them. That being the case, we should hold-off on merging this change until the `TableHandler` implementation has been updated to the new tool names. I can also keep the old tools around until the handler implementation is updated. Signed-off-by: Nick Hale <[email protected]>
63e4fd4
to
55d2fcd
Compare
Depends on obot-platform/tools#334 Addresses part of #1208 Signed-off-by: Nick Hale <[email protected]>
To reduce confusion in both the LLM and tool maintainers, rename the following tools in the
Database
bundle:Tables
->List Database Tables
Exec
->Exec Database Statement
Query
->Run Database Query
Also fix tool descriptions to reflect the change from raw markdown output to JSON.
Addresses obot-platform/obot#1208
Since these tools are in the
Capability
category, the "blast radius" of this change includes theTableHandler
implementation in obot and all tools/agents currently using them. That being the case, weshould hold-off on merging this change until the
TableHandler
implementation has been updated to the new tool names, or I keep duplicate tools that have the old names around until the handler implementation is updated.